package com.ocom.wxapi.client;

import com.ocom.common.constant.SuguanmqUrl;
import com.ocom.common.request.wx.InpayCustomerRequest;
import com.ocom.common.request.wx.InpayCustomerStatusRequest;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "suguandmq")
public interface SuguandmqClient {

    @PostMapping(SuguanmqUrl.INPAY_CUSTOMER_STATUS_URL)
    public Result inpayCustomerStatus(@RequestBody InpayCustomerStatusRequest inpayCustomerStatusRequest);

    @PostMapping(SuguanmqUrl.INPAY_CUSTOMER_URL)
    public Result inpayCustomer(@RequestBody InpayCustomerRequest inpayCustomerRequest);
}
